Click on a screenshot to zoom in, then click on it to minimise it

Instructions

  1. Download the .Rmd document from Learn.

  2. (If you are using the RStudio Server) upload the .Rmd file to your project.

  3. Open the .Rmd

  4. Add your exam number (only numbers, no letters) at the relevant places at the top of the document

  5. Rename the .Rmd file with your exam number

  6. Read and follow the extra instructions in the .Rmd file

  7. Answer the questions
    Write your answer in a new line underneath the text “Answer below:”

    • All R code should be within code chunks and these should be included and visible in the submitted file.
    • For each question, your answer should be saved to a named object. The name of the object will be given within each chunk. If you do not use the names specified, you will be given a 0 for that question.
    • The last line within each code chunk should print the result for that question.

  8. Check that the .Rmd successfully ‘knits’ to .html, and that everything is displaying correctly
    If your file does not knit successfully, you will receive a final grade of 0 as this indicates that something is wrong with your code.


  9. Make sure you save your file!

  10. (If you are using the RStudio Server) download your completed .Rmd file to your computer

  11. Go to the assessments page, review the own-work declaration, and follow instructions to upload your completed .Rmd file to Turnitin

  12. Only submit one file: the .Rmd file.
    The lab test is in part marked automatically by a script that attempts to run your code. If your code is in the wrong format (not in .rmd file), then your code cannot be run and your submission will receive a final grade of 0.

    • Do NOT submit html, pdf, word, or any other type of file. If you submit a file which has an extension different from .Rmd, you will receive a grade of 0.